Add opensuse support#530
Conversation
|
You also need to install |
| systemd-devel \ | ||
| zlib-devel \ | ||
| python3 \ | ||
| git-lfs |
| if [[ "$ID" =~ "opensuse" ]] || [[ "$ID_LIKE" =~ "opensuse" ]]; then | ||
| sudo zypper up rustup | ||
| else |
There was a problem hiding this comment.
It is expected that rustup is installed from https://rustup.rs/, not by a distro package.
There was a problem hiding this comment.
What should it do if rustup has been installed via a distro package?
There was a problem hiding this comment.
This case can actually just be removed. It was initially done to ensure users had a version of rustup new enough to support TOML-based toolchain files. I've done it in #531 to preserve the context.
That should go in the firmware-open |
Adds opensuse support in the build scripts. I should've just done the build in a distrobox, but I forgot, and ended up just adding support, so I figured I might as well share :)
Here's the necessary patch to
ecfor its script, too (github won't allow me to attach the patch file):